#ifndef PERFORMANCE_H
#define PERFORMANCE_H

#include <ctime>
#include <string>
using std::string;

class Performance
{
public:
    Performance( char * pLabel );
    void start();
    void stop();
    clock_t elapsed();
    void report();
private:
    bool running;
    clock_t mStart;
    clock_t mStop;
    clock_t mElapsed;
    string mLabel;
};

#endif // PERFORMANCE_H
